<?php 

App::uses('Component', 'Controller');
App::uses('Utility', 'Inflector');

class PluralizationHelper extends AppHelper {
    public function smartPluralize($singularWord, $number) {
        if ($number != 1) {
        	return Inflector::pluralize($singularWord);
        } else {
        	return $singularWord;
        }
    }
}